﻿@using SharePointAccessMonitor
@{
    ViewBag.Title = "Login";
}


<div class="container-fluid">
    <div class="row">
        <div class="col-md-12">
            <form class="form-horizontal" method="POST" action="Login">
                @Html.AntiForgeryToken()
                @Html.ValidationSummary(true, "", new { @class = "text-danger" })
                <div class="form-group">

                    <label for="inputEmail3" class="col-sm-2 control-label">
                        @(MessageResource.SharePointURL)
                    </label>
                    <div class="col-sm-10">
                        @Html.TextBox("spUrl", "", new { @class = "form-control" })
                        @Html.ValidationMessage("spUrl", "", new { @class = "text-danger" })
                    </div>
                </div>
                <div class="form-group">

                    <label for="inputEmail3" class="col-sm-2 control-label">
                        @(MessageResource.MailAddress)
                    </label>
                    <div class="col-sm-10">
                        @Html.TextBox("userName", "", new { @class = "form-control" })
                        @Html.ValidationMessage("userName", "", new { @class = "text-danger" })
                    </div>
                </div>
                <div class="form-group">

                    <label for="inputPassword3" class="col-sm-2 control-label">
                        @(MessageResource.Password)
                    </label>
                    <div class="col-sm-10">
                        @Html.Password("password", "", new { @class = "form-control" })
                        @Html.ValidationMessage("password", "", new { @class = "text-danger" })
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-offset-2 col-sm-10">

                        <button type="submit" class="btn btn-default">
                            Sign in
                        </button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>

<script src="/Scripts/jquery-1.10.2.js"></script>
<script src="~/Scripts/bootstrap.js"></script>

